<?php include 'include/head.php';?>
<section class="banner">
<div class="collection-head">
    <div class="container">
        <div class="collection-title">
          <h1 class="collection-header" id="sub-title"><span>用技术提升工作效率</span></h1>
            <div class="collection-info">
                <span class="meta-info mobile-hidden">
                    <span class="octicon octicon-location"></span>
                    深圳南山区
                </span>
                <span class="meta-info">
                    <span class="octicon octicon-organization"></span>
                    <a href="" target="_blank">神秘的地下党</a>
                </span>
                 <span class="meta-info">
                    <span class="octicon octicon-mark-github"></span>
                    <a href="https://github.com/" target="_blank"></a>
                </span>
            </div>
        </div>
    </div>
</div>
</section>
<!-- /.banner -->
<section class="container content">
    <div class="columns">
        <div class="column two-thirds" >
            <ol class="repo-list">
<?php foreach ($page_data['post_list'] as $row): ?>
<li class="repo-list-item">
    <h3 class="repo-list-name">
      <a href="<?php echo $row['url']; ?>"><?php echo $row['title']; ?></a>
    </h3>
    <p class="repo-list-description">
        <?php echo $row['description']; ?>
    </p>
    <p class="repo-list-meta">
        <span class="meta-info">
          <span class="octicon octicon-calendar"></span> <?php echo $row['publish_time']; ?>
        </span>

        <span class="meta-info">
          <span class="octicon octicon-file-directory"></span>
          <a href="<?php echo $row['category_url']; ?>" title="<?php echo $row['category']; ?>"><?php echo $row['category']; ?></a>
        </span>

    </p>
</li>
<?php endforeach?>

            </ol>
        </div>
<?php include APP_VIEW . 'include/sidebar.php';?>
    </div>
    <div class="pagination text-align">
      <div class="btn-group">

            <button disabled="disabled" href="javascript:;" class="btn btn-outline">&laquo;</button>


            <a href="javascript:;" class="active btn btn-outline">1</a>

            <a href="/page/2"  class="btn btn-outline">&raquo;</a>

        </div>
    </div>
    <!-- /pagination -->
</section>
<!-- /section.content -->
<?php include 'include/foot.php';?>